import React, { Component } from 'react'

import './Child.css'

export default class Child extends Component {

  // 销毁阶段
  componentWillUnmount() {
    console.log("10. 销毁阶段 componentWillUnmount() 方法执行")
  }
  render() {
    return (
      <div className="child-container">
        子组件
      </div>
    )
  }
}
